html,body{height: 100%;}
.clearfix{overflow: hidden;}
.hidden{display: none;}
body{
    background: #eeeeee;
    min-width: 1000px;
}
.clearfix{
    overflow: hidden;
}


/*消息框部分*/
.e0-msg-box{
    width: 1000px;
    margin: 0 auto;
    margin-top: 70px;
    background-color: white;
    border: #ddd;
    padding: 0 20px;
    height: calc(100% - 71px);
    position: relative;
}

/*标题部分*/
.e0-msg-box-title{
    height:50px;
    width: 100%;
    border-bottom: 1px solid #333;
    position: relative;
    font-size: 18px;
    line-height: 50px;
}

.e0-msg-box-title .back{
    position: absolute;
    left: 0;
    cursor: pointer;
    z-index: 10;
}

.e0-msg-box-title .title{
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    text-align: center;
    z-index: 1;
}

/*聊天内容部分*/
.e0-msg-box-content{
    height: calc(100% - 155px);
    background: white;
    overflow: auto;
    padding: 10px;
}

.msg-item-r,.msg-item-l{
    margin: 10px 0;
}

.msg-item-head{
    width: 50px;
    height: 50px;
    border-radius: 100%;
    overflow: hidden;
}

.msg-item-head img{
    height: 100%;
    width: 100%;
}

.msg-item-body{
    min-height: 54px;
    line-height: 54px;
    border-radius: 2px;
    max-width: calc(100% - 110px);
    background: white;
    padding: 0 10px;
    margin: 0 10px;
    position: relative;
}

.msg-item-l > div{
    float: left;
}

.msg-item-r > div{
    float: right;
}

.msg-item-l .msg-item-body{
    background: #b3d7c4;
}

.msg-item-r .msg-item-body{
    background: #eeeeee;
}

.msg-item-l .msg-item-body:before{
    content: " ";
    height: 10px;
    display: block;
    width: 10px;
    background: url(/assets/i/icon/message_tail_l.png) no-repeat;
    position: absolute;
    left: -10px;
    top: 10px;
}

.msg-item-r .msg-item-body:after{
    content: " ";
    height: 10px;
    display: block;
    width: 10px;
    background: url(/assets/i/icon/message_tail_r.png) no-repeat;
    position: absolute;
    right: -10px;
    top: 10px;
}

/*输入框部分*/
.msg-input{
    padding: 10px;
}

.msg-input input{
    height: 50px;
    border-radius: 5px;
    width: 100%;
    border: 1px solid #ddd;
    background-color: #f0efef;
    text-indent: 1rem;
}

.msg-input button{
    border: 1px solid #3db922;
    color: black;
    height: 34px;
    width: 94px;
    float: right;
    background: none;
    margin-top: 5px;
}

/*消息列表部分*/

.e0-msg-com{
    height: 90px;
    border-bottom: 1px solid #a0a0a0;
    padding: 20px 0 ;
    position: relative;
}
.e0-msg-com a:link{
    color: black !important;
}

.e0-msg-com a:visited{
    color: black !important;
}

.e0-msg-com > a > div{
    float: left;
}

.e0-msg-com .msg-info {
    padding-left: 10px;
}

.e0-msg-com .msg-info  > div{
    width: 840px;
}

.info-t .user-name{
    float: left;
    font-size: 18px;
    font-weight: bold;
}

.info-t .msg-time{
    float: right;
    color: #a0a0a0;
}

.info-d{
    color: #a0a0a0;
    font-size: 16px;
}

.head-icon{
    height: 50px;
}

.head-icon img{
    height: 50px;
    width: 50px;
    border-radius: 100%;
}

.msg-setting{
    color: #a0a0a0;
    text-indent: 5px;
    cursor: pointer;
    position: absolute;
    width: 150px;
    right: 0;
}


.msg-setting-box{    
    position: absolute;
    right: 0;
    box-shadow: 0px 5px 10px grey;
    color: black;
}

.msg-setting-btn{
    text-align: right;
}
.setting-item{
    padding: 10px;
}
.setting-item:hover{
    background: #ddd;
}

.msg-setting-hidden .msg-setting-box{
    display: none;
}